textview: Improve word selection
authorMatthias Clasen <mclasen@redhat.com>
Thu, 19 Aug 2021 04:33:03 +0000 (00:33 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 19 Aug 2021 04:33:03 +0000 (00:33 -0400)
commit8aa25046dc9401cb36abd9c28a3cfb85907f77e8
tree95ab3f992092446b411376fa8b705a8400ce0075
parent27a07ed89c3dadcb10ea10db3b7e5b9bfe5b0076
textview: Improve word selection

Avoid selecting a whole extra paragraph when a select-by-words
selection is extended beyond the end of the previous paragraph.

Fixes: #4177
gtk/gtktextview.c